package com.umakr.ax.common.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.umakr.ax.common.model.Favorite;
import com.umakr.ax.common.vo.FavoriteListVO;
import com.umakr.ax.core.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2017-12-30
 */
public interface FavoriteMapper extends BaseMapper<Favorite> {

    Page<FavoriteListVO> listMyFavoriteByUserId(@Param("userId") Long userId);

}